package com.shop.admin.model.po.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * @author 'banxia'
 * @version 1.0
 * @description TODO
 * @date 2023/2/26 23:57
 */
@Data
@ToString
public class AdminsDto {
    @ApiModelProperty(value = "管理员名称")
    private String name;

    @ApiModelProperty(value = "管理员账号ID")
    private String account;

    @ApiModelProperty(value = "管理员密码")
    private String password;

    @ApiModelProperty(value = "管理员手机号")
    private String phone;

    @ApiModelProperty(value = "防止越权操作。为admin")
    private String type;

    //权值设置：
    @ApiModelProperty(value = "管理员权限:0,1,2分别代表insert/update/select")
    private String power;

}
